#! /usr/bin/env bash
GST_DEBUG=2 gst-launch-1.0 filesrc location=test-image/dog0.jpeg \
    ! jpegdec \
    ! 'video/x-raw, format=(string)I420' \
    ! videoscale \
    ! 'video/x-raw, width=800, height=600, format=(string)I420' \
    ! imagefreeze \
    ! 'video/x-raw, width=800, height=600, framerate=30/1, format=(string)I420' \
    ! nvvidconv \
    ! 'video/x-raw(memory:NVMM), format=(string)NV12' \
    ! nv3dsink 